home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_426_a209 < prev    next >
Unknown  |  1994-07-14  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 29 00 00 07 0d 00 00 | 00 29 61 32 30 39 00 00 |.)......|.)a209..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0f 47 65 74 43 68 | 69 6c 64 48 6e 64 6c 50 |...GetCh|ildHndlP|
|00000060| 74 72 00 00 06 00 00 00 | 00 00 af 00 00 07 0e 00 |tr......|........|
|00000070| 00 00 af 00 00 00 14 03 | c1 00 28 05 7e 00 ff 00 |........|..(.~...|
|00000080| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 1c 00 00 00 |........|...N....|
|00000090| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|000000a0| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 10 |........|......@.|
|000000b0| 6b 53 63 72 65 65 6e 41 | 50 49 2f 31 39 39 39 36 |kScreenA|PI/19996|
|000000c0| 00 06 47 65 6e 65 76 61 | 00 00 55 54 72 65 65 4f |..Geneva|..UTreeO|
|000000d0| 62 6a 48 6e 64 6c 20 2a | 47 65 74 43 68 69 6c 64 |bjHndl *|GetChild|
|000000e0| 48 6e 64 6c 50 74 72 28 | 54 72 65 65 4f 62 6a 48 |HndlPtr(|TreeObjH|
|000000f0| 6e 64 6c 20 70 61 72 65 | 6e 74 48 6e 64 6c 2c 20 |ndl pare|ntHndl, |
|00000100| 73 68 6f 72 74 20 2a 63 | 68 69 6c 64 4e 75 6d 2c |short *c|hildNum,|
|00000110| 20 73 68 6f 72 74 20 65 | 6e 64 43 61 73 65 29 3b | short e|ndCase);|
|00000120| 00 00 00 06 00 00 00 00 | 00 8b 00 00 07 0f 00 00 |........|........|
|00000130| 00 8b 00 00 00 00 03 c1 | 00 14 05 7e 00 ff 00 00 |........|...~....|
|00000140| 00 00 00 00 0f a8 00 00 | 00 00 4e 1d 00 00 00 09 |........|..N.....|
|00000150| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000160| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 14 6b |........|.....@.k|
|00000170| 53 63 72 65 65 6e 4f 6e | 65 4c 69 6e 65 2f 31 39 |ScreenOn|eLine/19|
|00000180| 39 39 37 00 06 47 65 6e | 65 76 61 00 00 2d 52 65 |997..Gen|eva..-Re|
|00000190| 74 75 72 6e 20 61 20 70 | 6f 69 6e 74 65 72 20 69 |turn a p|ointer i|
|000001a0| 6e 74 6f 20 74 68 65 20 | 63 68 69 6c 64 20 68 61 |nto the |child ha|
|000001b0| 6e 64 6c 65 20 74 61 62 | 6c 65 2e 00 00 00 06 00 |ndle tab|le......|
|000001c0| 00 00 00 00 44 00 00 07 | 10 00 00 00 44 00 00 00 |....D...|....D...|
|000001d0| 00 02 6b 04 40 02 6c 01 | 00 00 00 00 00 00 01 0f |..k.@.l.|........|
|000001e0| f1 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 06 00 00 00 00 00 | 80 00 00 07 11 00 00 00 |........|........|
|00000220| 80 00 00 00 00 02 6b 02 | 28 03 c1 00 ff 00 00 00 |......k.|(.......|
|00000230| 00 00 00 0f a8 00 00 00 | 00 4e 16 00 00 00 09 00 |........|.N......|
|00000240| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|00000250| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 0b 6c 69 |........|....@.li|
|00000260| 6e 6b 73 2f 31 39 39 39 | 30 00 06 4d 6f 6e 61 63 |nks/1999|0..Monac|
|00000270| 6f 00 00 15 61 32 30 39 | 2c 47 65 74 43 68 69 6c |o...a209|,GetChil|
|00000280| 64 48 6e 64 6c 50 74 72 | 0d 00 16 00 01 00 00 00 |dHndlPtr|........|
|00000290| 00 00 10 00 0c 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 06 00 00 00 00 07 | 33 00 00 07 12 00 00 07 |........|3.......|
|000002b0| 33 00 00 00 00 00 00 75 | 30 02 6b 01 ff 00 00 00 |3......u|0.k.....|
|000002c0| 00 00 00 0f a8 00 00 00 | 00 4e 1f 00 00 00 09 00 |........|.N......|
|000002d0| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|000002e0| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 0a 62 6f |........|....@.bo|
|000002f0| 64 79 2f 31 39 39 39 39 | 00 06 4d 6f 6e 61 63 6f |dy/19999|..Monaco|
|00000300| 00 06 c9 54 72 65 65 4f | 62 6a 48 6e 64 6c 20 2a |...TreeO|bjHndl *|
|00000310| 47 65 74 43 68 69 6c 64 | 48 6e 64 6c 50 74 72 28 |GetChild|HndlPtr(|
|00000320| 54 72 65 65 4f 62 6a 48 | 6e 64 6c 20 70 61 72 65 |TreeObjH|ndl pare|
|00000330| 6e 74 48 6e 64 6c 2c 20 | 73 68 6f 72 74 20 2a 63 |ntHndl, |short *c|
|00000340| 68 69 6c 64 4e 75 6d 2c | 20 73 68 6f 72 74 20 65 |hildNum,| short e|
|00000350| 6e 64 43 61 73 65 29 3b | 0d 0d 49 4e 50 55 54 3a |ndCase);|..INPUT:|
|00000360| 20 20 70 61 72 65 6e 74 | 48 6e 64 6c 20 20 20 20 | parent|Hndl |
|00000370| 20 20 4f 62 6a 65 63 74 | 20 77 68 6f 73 65 20 63 | Object| whose c|
|00000380| 68 69 6c 64 20 74 61 62 | 6c 65 20 69 73 20 74 6f |hild tab|le is to|
|00000390| 20 69 6e 64 65 78 65 64 | 2e 0d 20 20 20 20 20 20 | indexed|.. |
|000003a0| 20 20 2a 63 68 69 6c 64 | 4e 75 6d 20 20 20 20 20 | *child|Num |
|000003b0| 20 20 49 6e 64 65 78 20 | 69 6e 74 6f 20 74 68 65 | Index |into the|
|000003c0| 20 70 61 72 65 6e 74 27 | 73 20 63 68 69 6c 64 20 | parent'|s child |
|000003d0| 74 61 62 6c 65 2e 0d 20 | 20 20 20 20 20 20 20 65 |table.. | e|
|000003e0| 6e 64 43 61 73 65 20 20 | 20 20 20 20 20 20 20 48 |ndCase | H|
|000003f0| 6f 77 20 74 6f 20 68 61 | 6e 64 6c 65 20 74 68 65 |ow to ha|ndle the|
|00000400| 20 69 6e 64 65 78 2d 62 | 65 79 6f 6e 64 2d 65 6e | index-b|eyond-en|
|00000410| 64 20 63 61 73 65 2e 0d | 20 20 20 20 20 20 20 20 |d case..| |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000430| 49 66 20 30 2c 20 74 68 | 65 6e 20 70 6f 69 6e 74 |If 0, th|en point|
|00000440| 69 6e 67 20 6a 75 73 74 | 20 61 66 74 65 72 20 74 |ing just| after t|
|00000450| 68 65 20 63 68 69 6c 64 | 20 68 61 6e 64 6c 65 20 |he child| handle |
|00000460| 74 61 62 6c 65 0d 20 20 | 20 20 20 20 20 20 20 20 |table. | |
|00000470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000480| 20 20 69 73 20 69 6e 76 | 61 6c 69 64 2c 20 61 6e | is inv|alid, an|
|00000490| 64 20 74 68 65 20 70 6f | 69 6e 74 65 72 20 77 69 |d the po|inter wi|
|000004a0| 6c 6c 20 62 65 20 73 6e | 61 70 70 65 64 20 74 6f |ll be sn|apped to|
|000004b0| 20 70 6f 69 6e 74 0d 20 | 20 20 20 20 20 20 20 20 | point. | |
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004d0| 20 20 20 74 6f 20 74 68 | 65 20 6c 61 73 74 20 65 | to th|e last e|
|000004e0| 6e 74 72 79 20 69 6e 20 | 74 68 65 20 74 61 62 6c |ntry in |the tabl|
|000004f0| 65 2e 20 20 54 68 65 20 | 70 75 72 70 6f 73 65 20 |e. The |purpose |
|00000500| 66 6f 72 20 74 68 69 73 | 0d 20 20 20 20 20 20 20 |for this|. |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000520| 20 20 20 20 20 63 61 73 | 65 20 69 73 20 74 6f 20 | cas|e is to |
|00000530| 72 65 66 65 72 65 6e 63 | 65 20 6f 72 20 72 65 70 |referenc|e or rep|
|00000540| 6c 61 63 65 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |lace an |existing|
|00000550| 20 65 6e 74 72 79 2e 0d | 20 20 20 20 20 20 20 20 | entry..| |
|00000560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000570| 49 66 20 31 2c 20 74 68 | 65 6e 20 70 6f 69 6e 74 |If 1, th|en point|
|00000580| 69 6e 67 20 6a 75 73 74 | 20 61 66 74 65 72 20 74 |ing just| after t|
|00000590| 68 65 20 63 68 69 6c 64 | 20 68 61 6e 64 6c 65 20 |he child| handle |
|000005a0| 74 61 62 6c 65 0d 20 20 | 20 20 20 20 20 20 20 20 |table. | |
|000005b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005c0| 20 20 69 73 20 76 61 6c | 69 64 2e 20 20 54 68 65 | is val|id. The|
|000005d0| 20 70 75 72 70 6f 73 65 | 20 66 6f 72 20 74 68 69 | purpose| for thi|
|000005e0| 73 20 63 61 73 65 20 69 | 73 20 74 6f 20 67 65 74 |s case i|s to get|
|000005f0| 20 61 20 70 6f 69 6e 74 | 65 72 0d 20 20 20 20 20 | a point|er. |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000610| 20 20 20 20 20 20 20 66 | 6f 72 20 61 6e 20 69 6e | f|or an in|
|00000620| 73 65 72 74 69 6f 6e 20 | 6f 70 65 72 61 74 69 6f |sertion |operatio|
|00000630| 6e 2e 0d 52 45 53 55 4c | 54 3a 20 54 72 65 65 4f |n..RESUL|T: TreeO|
|00000640| 62 6a 48 6e 64 6c 20 20 | 20 20 20 54 68 65 20 63 |bjHndl | The c|
|00000650| 68 69 6c 64 20 69 6e 64 | 65 78 65 64 20 6f 75 74 |hild ind|exed out|
|00000660| 20 6f 66 20 74 68 65 20 | 70 61 72 65 6e 74 27 73 | of the |parent's|
|00000670| 20 63 68 69 6c 64 20 74 | 61 62 6c 65 2e 0d 0d 52 | child t|able...R|
|00000680| 65 74 75 72 6e 20 61 20 | 70 6f 69 6e 74 65 72 20 |eturn a |pointer |
|00000690| 69 6e 74 6f 20 74 68 65 | 20 63 68 69 6c 64 20 68 |into the| child h|
|000006a0| 61 6e 64 6c 65 20 74 61 | 62 6c 65 2e 20 20 54 68 |andle ta|ble. Th|
|000006b0| 69 73 20 61 6c 73 6f 20 | 76 61 6c 69 64 61 74 65 |is also |validate|
|000006c0| 73 20 28 61 6e 64 20 63 | 6f 72 72 65 63 74 73 29 |s (and c|orrects)|
|000006d0| 20 63 6e 75 6d 20 73 6f | 0d 74 68 61 74 20 69 74 | cnum so|.that it|
|000006e0| 20 69 73 20 69 6e 20 72 | 61 6e 67 65 2c 20 69 66 | is in r|ange, if|
|000006f0| 20 70 6f 73 73 69 62 6c | 65 2e 20 20 44 65 70 65 | possibl|e. Depe|
|00000700| 6e 64 69 6e 67 20 6f 6e | 20 74 68 65 20 75 73 61 |nding on| the usa|
|00000710| 67 65 2c 20 70 6f 69 6e | 74 69 6e 67 20 74 6f 20 |ge, poin|ting to |
|00000720| 6a 75 73 74 20 61 66 74 | 65 72 20 74 68 65 20 63 |just aft|er the c|
|00000730| 68 69 6c 64 0d 68 61 6e | 64 6c 65 20 74 61 62 6c |hild.han|dle tabl|
|00000740| 65 20 69 73 20 65 69 74 | 68 65 72 20 76 61 6c 69 |e is eit|her vali|
|00000750| 64 20 6f 72 20 69 6e 76 | 61 6c 69 64 2e 20 20 49 |d or inv|alid. I|
|00000760| 66 20 61 20 68 61 6e 64 | 6c 65 20 69 73 20 62 65 |f a hand|le is be|
|00000770| 69 6e 67 20 61 64 64 65 | 64 20 74 6f 20 74 68 65 |ing adde|d to the|
|00000780| 20 74 61 62 6c 65 2c 20 | 74 68 65 6e 0d 70 6f 69 | table, |then.poi|
|00000790| 6e 74 69 6e 67 20 6a 75 | 73 74 20 61 66 74 65 72 |nting ju|st after|
|000007a0| 20 74 68 65 20 74 61 62 | 6c 65 20 69 73 20 76 61 | the tab|le is va|
|000007b0| 6c 69 64 2e 20 20 49 66 | 20 61 20 68 61 6e 64 6c |lid. If| a handl|
|000007c0| 65 20 69 73 20 62 65 69 | 6e 67 20 72 65 6d 6f 76 |e is bei|ng remov|
|000007d0| 65 64 20 6f 72 20 72 65 | 66 65 72 65 6e 63 65 64 |ed or re|ferenced|
|000007e0| 2c 20 74 68 65 6e 0d 70 | 6f 69 6e 74 69 6e 67 20 |, then.p|ointing |
|000007f0| 6a 75 73 74 20 61 66 74 | 65 72 20 74 68 65 20 74 |just aft|er the t|
|00000800| 61 62 6c 65 20 69 73 20 | 69 6e 76 61 6c 69 64 2e |able is |invalid.|
|00000810| 20 20 54 68 65 20 70 61 | 72 61 6d 65 74 65 72 20 | The pa|rameter |
|00000820| 65 6e 64 43 61 73 65 20 | 64 65 74 65 72 6d 69 6e |endCase |determin|
|00000830| 65 73 20 77 68 69 63 68 | 20 63 61 73 65 20 77 65 |es which| case we|
|00000840| 20 61 72 65 0d 64 65 61 | 6c 69 6e 67 20 77 69 74 | are.dea|ling wit|
|00000850| 68 2e 20 20 49 66 20 65 | 6e 64 43 61 73 65 20 69 |h. If e|ndCase i|
|00000860| 73 20 30 2c 20 74 68 65 | 6e 20 70 6f 69 6e 74 69 |s 0, the|n pointi|
|00000870| 6e 67 20 6a 75 73 74 20 | 61 66 74 65 72 20 74 68 |ng just |after th|
|00000880| 65 20 63 68 69 6c 64 20 | 68 61 6e 64 6c 65 20 74 |e child |handle t|
|00000890| 61 62 6c 65 20 69 73 20 | 69 6e 76 61 6c 69 64 2c |able is |invalid,|
|000008a0| 0d 61 6e 64 20 69 66 20 | 74 68 65 20 63 6e 75 6d |.and if |the cnum|
|000008b0| 20 76 61 6c 75 65 20 70 | 61 73 73 65 64 20 69 6e | value p|assed in|
|000008c0| 20 63 61 75 73 65 73 20 | 74 68 69 73 2c 20 74 68 | causes |this, th|
|000008d0| 65 6e 20 6e 69 6c 20 69 | 73 20 72 65 74 75 72 6e |en nil i|s return|
|000008e0| 65 64 20 66 6f 72 20 74 | 68 65 20 70 6f 69 6e 74 |ed for t|he point|
|000008f0| 65 72 2e 20 20 49 66 0d | 65 6e 64 43 61 73 65 20 |er. If.|endCase |
|00000900| 69 73 20 31 2c 20 74 68 | 65 6e 20 70 6f 69 6e 74 |is 1, th|en point|
|00000910| 69 6e 67 20 6a 75 73 74 | 20 61 66 74 65 72 20 74 |ing just| after t|
|00000920| 68 65 20 63 68 69 6c 64 | 20 68 61 6e 64 6c 65 20 |he child| handle |
|00000930| 74 61 62 6c 65 20 69 73 | 20 6f 6b 61 79 2c 20 61 |table is| okay, a|
|00000940| 6e 64 20 74 68 65 72 65 | 66 6f 72 65 20 6e 69 6c |nd there|fore nil|
|00000950| 20 77 69 6c 6c 0d 6e 65 | 76 65 72 20 62 65 20 72 | will.ne|ver be r|
|00000960| 65 74 75 72 6e 65 64 20 | 61 73 20 74 68 65 20 70 |eturned |as the p|
|00000970| 6f 69 6e 74 65 72 2e 20 | 20 41 6e 79 20 63 6e 75 |ointer. | Any cnu|
|00000980| 6d 20 76 61 6c 75 65 20 | 6f 75 74 20 6f 66 20 72 |m value |out of r|
|00000990| 61 6e 67 65 20 77 69 6c | 6c 20 62 65 20 63 6f 72 |ange wil|l be cor|
|000009a0| 72 65 63 74 65 64 0d 28 | 69 66 20 70 6f 73 73 69 |rected.(|if possi|
|000009b0| 62 6c 65 29 20 74 6f 20 | 62 65 20 77 69 74 68 69 |ble) to |be withi|
|000009c0| 6e 20 72 61 6e 67 65 2e | 20 0d 0d 0d 00 16 00 01 |n range.| .......|
|000009d0| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|000009e0| 00 00 00 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+